package main;

import java.lang.instrument.Instrumentation;
import java.lang.instrument.UnmodifiableClassException;

import functionchange.FunctionChange;
import functionchange.TestCheckChange;

public class Premain {
	public static void premain(String agentArgs, Instrumentation inst)
			throws ClassNotFoundException, UnmodifiableClassException {
		System.out.println("agent参数"+agentArgs);
		inst.addTransformer(new FunctionChange(new TestCheckChange()), true);
	}
}
